<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://localhost" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://localhost" elementFormDefault="qualified">
  <xs:element name="Catalogues">
    <xs:annotation>
      <xs:documentation xml:lang="ro">Structura nomenclatoarelor pentru aplicaţiile de raportare pentru furnizorii de servicii de îngrijire la domiciliu</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Specialities" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de specialităţi medicale</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Speciality" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unei specialităţi medicale</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul specialităţii medicale</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="200" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea specialităţii medicale</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Degrees" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de grade profesionale ale medicilor</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence minOccurs="0">
              <xs:element name="Degree" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unui grad profesional al medicilor</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul gradului profesional</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="50" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="description" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Descrierea gradului profesional</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="extraPointsPercent" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Procentul de ajustare a punctajului</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:decimal">
                        <xs:totalDigits value="18" />
                        <xs:fractionDigits value="0" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Services" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de servicii medicale de îngrijire la domiciliu</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence minOccurs="0">
              <xs:element name="Service" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţai unui serviciu medical de îngrijire la domiciliu</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul serviciului medical de îngrijire la domiciliu</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="50" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea serviciului medical de îngrijire la domiciliu</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="isAssisted" type="xs:boolean" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Valoarea serviciului medical de îngrijire la domiciliu</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="isPaliativ" type="xs:boolean" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Valoarea serviciului medical de îngrijire la domiciliu</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="InsuranceHouseTypes" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de tipuri de case de asigurări de sănătate</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="InsuranceHouseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Înregistrare din nomenclatoruld e tipuri de case de asigurări de sănătate</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de case de asigurări</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="description" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Descrierea tipului de case de asigurări</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="InsuranceHouses" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul caselor de asigurare din sistem</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="InsuranceHouse" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia caselor de asigurare din sistem</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul casei de asigurare</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea casei de asigurare</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="type" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Tipul casei de asigurare (valoarea codului din nomenclatorul de tipuri de case de asigurare)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Errors" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de erori şi avertizări generate de sistem</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Error" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unei erori sau avertizări</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul de eroare/avertizare</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="text" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Descrierea erorii/avertizării</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Countries" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de ţări</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Country" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unei ţări</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul ţării</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea ţării</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
				<xs:element name="CnasAgreements" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="ro">Catalogul de ţări care au acord internaţional cu CNAS</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CnasAgreement" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation xml:lang="ro">Definiţia unei înregistrări din catalogul de ţări cu acord internaţional cu CNAS</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="countryCode" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Codul ţării (valoare din nomenclatorul de ţări)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="20" />
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="validFrom" type="xs:date" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="validTo" type="xs:date" use="optional">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="EuMembers" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="ro">Definiţia unei înregistrări din catalogul de ţări care fac parte din Uniunea Europeană</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="EuMember" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation xml:lang="ro">Definitie tara</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="countryCode" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Codul ţării (valoare din nomenclatorul de ţări)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:maxLength value="20" />
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="validFrom" type="xs:date" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="validTo" type="xs:date" use="optional">
										<xs:annotation>
											<xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
        <xs:element name="Districts" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de judeţe / unităţi teritoriale</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="District" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unui judeţ</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul judeţului</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea judeţului</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="country" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul ţării căreia îi aparţine (valoare din nomenclatorul de ţări)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CityTypes" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de tipuri de localităţi</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CityType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unui tip de localitate</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul localităţii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea localităţii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="150" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="urbanFlag" type="xs:boolean" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Indică dacă localitatea este din mediul urban sau nu (atunci se consideră din mediul rural)</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Cities" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de localităţi</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="City" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unei localităţi</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul localităţii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Numele localităţii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="150" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="district" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Judeţul de care aparţine localitatea (valoarea codului din nomenclatorul de judeţe)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="cityType" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Tipul localităţii (valoarea codului din nomenclatorul de tipuri de localităţi)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="parentCity" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Localitatea de care aparţine (comună) (valoarea codului din nomenclatorul de localităţi)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PersonalIDCardTypes" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de tipuri de acte de identitate</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PersonalIDCardType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Întegistrare din catalogul de tipuri de acte de identitate</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de act de identitate</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumire tipului de act de identitate</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="category" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Categoria tipului de act de identitate</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="1">
                          <xs:annotation>
                            <xs:documentation xml:lang="ro">PASAPORTAL</xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="2">
                          <xs:annotation>
                            <xs:documentation xml:lang="ro">SERVICIU</xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Street_Types" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de tipuri de străzi</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Street_Type" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unui tip de stradă</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de stradă</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea tipului de stradă</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="150" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ICD10S" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de diagnostice medicale (999 de coduri)</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ICD10" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unui diagnostic medical</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul diagnosticului medical</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea diagnosticului medical</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="100" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="diseaseCategory" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Categoria de boală (valoarea codului din nomenclatorul de categorii de boli)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="validFrom" type="xs:date" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de inceput a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="validTo" type="xs:date" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Data de sfârşit a valabilităţii</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Streets" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de străzi</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Street" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unei străzi</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul străzii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="60" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="name" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Denumirea străzii</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="255" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="city_code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Localitatea în care se regăseşte strada (valoarea codului din nomenclatorul de localităţi)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="streetType" use="optional">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Tipul de stradă (valoarea codului din nomenclatorul de tipuri de străzi)</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="30" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PersonTypes" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="ro">Catalogul de tipuri de persoană (cetăţeni români, posesori de card european, convenţii, accidentaţi, etc.)</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PersonType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="ro">Definiţia unui tip de persoană</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="code" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Codul tipului de persoană</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="20" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="description" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Descrierea tipului de persoană</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="200" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="isForeign" type="xs:boolean" use="required">
                    <xs:annotation>
                      <xs:documentation xml:lang="ro">Indică dacă tipul se aplică pentru persoane de altă cetăţenie sau nu</xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>